﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.TextMining.Clustering
{
    /// <summary></summary>
    public interface ITermFilter
    {
        /// <summary></summary>
        List<int> ExcludedTermIDs { get; set; }
        /// <summary></summary>
        double TermFrequencyThreshold { get; set; }

        /// <summary>
        /// apply filter 
        /// </summary>
        /// <param name="allDocTermFreqs"></param>
        /// <returns></returns>
        Dictionary<int, Dictionary<int, DocTermFreq>> FilterDocumentTerms(Dictionary<int, Dictionary<int, DocTermFreq>> allDocTermFreqs);
    }
}
